You can modify the preference value for dynamic routes through route filtering and IP policies, and this value overrides the global preference for the protocol.
The following table shows the default preferences for routing protocols and route types. Use this table to help you modify the global preference value.
Protocol |
Default preference |
---|---|
Local |
0 |
Static |
5 |
SPBM_L1 |
7 |
OSPF intra-area |
20 |
OSPF inter-area |
25 |
Exterior BGP |
45 |
RIP/RIPng |
100 |
OSPF external type 1 |
120 |
OSPF external type 2 |
125 |
IBGP |
175 |
Staticv6 |
5 |
OSPFv3 intra-area |
20 |
OSPFv3 inter-area |
25 |
OSPFv3 external type 1 |
120 |
OSPFv3 external type 2 |
125 |